package pattern.stragegy;

public abstract class Duck
{
	Flybehavior	flyBehavior;
	
	public void fly()
	{
		flyBehavior.fly();
	}
	
	public void setFly(Flybehavior newBehavior)
	{
		this.flyBehavior = newBehavior;
	};
}
